package com.bootdo.check.domain;

import java.io.File;

/**
 * 检测结果
 * 
 * @author ke
 *
 */
public class DetectResult {

	/**
	 * 数据库id
	 */
	private int id;

	/**
	 * 视频logo位置，0无，1左上，2左下，3右下，4右上
	 */
	private int logoLoaction;

	/**
	 * 是否有视频头
	 */
	private boolean hasHead;

	/**
	 * 是否有视频尾
	 */
	private boolean hasTail;
	
	/**
	 * 回传引用，二次检测
	 */
	private File file;

	public int getLogoLoaction() {
		return logoLoaction;
	}

	public File getFile() {
		return file;
	}

	public void setFile(File file) {
		this.file = file;
	}

	public void setLogoLoaction(int logoLoaction) {
		this.logoLoaction = logoLoaction;
	}

	public boolean isHasHead() {
		return hasHead;
	}

	public void setHasHead(boolean hasHead) {
		this.hasHead = hasHead;
	}

	public boolean isHasTail() {
		return hasTail;
	}

	public void setHasTail(boolean hasTail) {
		this.hasTail = hasTail;
	}

	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	@Override
	public String toString() {
		return "DetectResult [id=" + id + ", logoLoaction=" + logoLoaction + ", hasHead=" + hasHead + ", hasTail="
				+ hasTail + "]";
	}

}
